x86-64: use MFNs for linking together pages on lists
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 30 Jan 2009 11:03:28 +0000 (11:03 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 30 Jan 2009 11:03:28 +0000 (11:03 +0000)
commite44c9316ba3cd352f46dcd391778e01b2742ae75
tree518b93a6e4a2fcec1ac9d23004affc7d84c8f7e8
parentbb978e7d199327cc9f98bf546295f59a1587a602
x86-64: use MFNs for linking together pages on lists

Unless more than 16Tb are going to ever be supported in Xen, this will
allow reducing the linked list entries in struct page_info from 16 to
8 bytes.

This doesn't modify struct shadow_page_info, yet, so in order to meet
the constraints of that 'mirror' structure the list entry gets
artificially forced to be 16 bytes in size. That workaround will be
removed in a subsequent patch.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
23 files changed:
xen/arch/x86/domain.c
xen/arch/x86/domain_build.c
xen/arch/x86/domctl.c
xen/arch/x86/e820.c
xen/arch/x86/mm.c
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/hap/p2m-ept.c
xen/arch/x86/mm/p2m.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/numa.c
xen/common/domain.c
xen/common/grant_table.c
xen/common/memory.c
xen/common/page_alloc.c
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/iommu.c
xen/include/asm-x86/domain.h
xen/include/asm-x86/mm.h
xen/include/asm-x86/p2m.h
xen/include/asm-x86/perfc.h
xen/include/xen/mm.h
xen/include/xen/sched.h